package com.youlai.boot.daily.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 日常记录视图对象
 *
 * @author cuisheng
 * @since 2025-04-02 22:51
 */
@Getter
@Setter
@Schema( description = "日常记录视图对象")
public class DailyRecordVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "记录ID")
    private Integer id;
    @Schema(description = "记录日期")
    private LocalDate recordDate;
    @Schema(description = "记录标题")
    private String recordTitle;
    @Schema(description = "记录内容")
    private String recordContent;
    @Schema(description = "上传的图片路径（JSON 格式存储多个图片路径）")
    private String images;
    @Schema(description = "创建人")
    private String createBy;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalDateTime createTime;
}
